﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Threading;
using System.Diagnostics;

namespace AbyssCombatLogger
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (Properties.Settings.Default.FirstLoadBBot== true)
            {
                //BBot_Extractor.Extract_BBot();


            }
            else
            { 
                
            }
            try
            {
             frmMeter meter1 = new frmMeter();

              Application.Run(meter1);


                Thread.CurrentThread.Abort();
            }
            catch (Exception e)
            {
                //end gracefully
                Debug.WriteLine(e.ToString());
                //should save error to file
                //
            }
            
        }
    }
}
